package de.g18.gruppe3.common.model;

/**
 * Model für eine Benutzergruppe
 *
 * @author <a href="mailto:kevinhuber.kh@gmail.com">Kevin Huber</a>
 */
public class UserGroup extends AbstractLDAPModel {

    public static final String PROPERTYNAME_NAME = "name";

    private String name;


    public UserGroup(String aName) {
        setName(aName);
    }

    public String getName() {
        return name;
    }

    public void setName(String aName) {
        String oldValue = getName();
        name = aName;
        firePropertyChange(PROPERTYNAME_NAME, oldValue, getName());
    }
}
